package duoxiancheng;

import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;
import java.util.function.Function;

public class Demo {
    public static void main(String[] args){
        Demo02 t1 = new Demo02();
        Demo03 t2 = new Demo03();

        t1.setName("女神");
        t2.setName("备胎");

        t2.setDaemon(true);

        t1.start();
        t2.start();
    }


}
